home *** CD-ROM | disk | FTP | other *** search
- on prepareFrame
- global LOOPFRAME, VIDVOLUME
- if not (LOOPFRAME = the frameLabel) then
- initialiseFrame()
- set the locV of sprite 3 to 290 - (VIDVOLUME * 105 / 256)
- startTimer()
- if random(2) = 1 then
- set the member of sprite 6 to "long"
- else
- set the member of sprite 6 to "short"
- end if
- set the volume of sprite 6 to VIDVOLUME
- set the movieRate of sprite 6 to 1
- end if
- end
-
- on enterFrame
- if the timer > 60 then
- set the visible of sprite 5 to not (the visible of sprite 5)
- startTimer()
- end if
- if the movieRate of sprite 6 = 0 then
- go(the frame + 1)
- end if
- end
-
- on exitFrame
- go(the frame)
- end
-